package com.zuipin.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zuipin.entity.LoginRuleNum;
import com.zuipin.mapper.LoginRuleNumMapper;
import com.zuipin.service.ILoginRuleNumService;

/**
 * @ClassName: LoginRuleNumServiceImpl
 * @author xujinding
 * @time 2017年3月27日下午4:00:56
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class LoginRuleNumServiceImpl implements ILoginRuleNumService {
	@Resource
	private LoginRuleNumMapper loginRuleNumMapper;
	
	public void insert(LoginRuleNum loginRuleNum) {
		loginRuleNumMapper.insertSelective(loginRuleNum);
	}
	
	public List<LoginRuleNum> findListBySelect(LoginRuleNum loginRuleNum) {
		return loginRuleNumMapper.findListBySelect(loginRuleNum);
	}
	
}
